
<%@ page import="desmontec.documentos.MapaEstocagem" %>
<html>
    <head>
    	<g:javascript library="MapaEstocagem"/>
    	<g:javascript library="GuiaDeTrafego"/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'mapaEstocagem.label', default: 'MapaEstocagem')}" />
        <title><g:message code="Exibir Mapa de Estocagem" /></title>
    </head>
    <body>
    	<modalbox:modalIncludes/>
        
        <div class="container">
        
        	<!-- CABECALHO -->
        	<div class="header">
				<h1><g:message code="Exibir Mapa de Estocagem" /></h1>        	
			</div>
        
            
            <!-- MENU -->
			<div class="left">
				<g:include  view="_menu.gsp"></g:include>
			</div>
			
			 <!-- CORPO -->            
            <div class="content">
			<g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div>
				<table cellpadding="2" cellspacing="0" class="tabelaAzul">
					
					<tbody>
						<tr>
							<th class="cabecalhoTabela"><g:message code= "Dados da DPG" /></th>
							<th class="cabecalhoTabela"><g:message code= "Dados do Mapa de Estocagem" /></th>
						</tr>
						<tr valign="top">
							<td valign="top">
								<g:render template="dadosDPG" />
							</td>
							<td valign="top">
								<g:render template="dadosMapaEstocagem" />
							</td>
						</tr>
					</tbody>
				</table>
	        </div>
	        <br />
	        <g:render template="listaGuiasExibir"/>
	        <br />
	        <hr />
            <div class="buttons" align="right">
                <g:form>
                    <g:hiddenField name="id" value="${mapaEstocagemInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="criarDPGdoMapaEditar" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirmarDeletarMapa();" /></span>
                </g:form>
            </div>
			</div>
			
			 <!-- RODAPE -->
            <div class="footer">
	            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            	<span class="menuButton"><g:link class="create" action="criarDPGdoMapa"><g:message code="Cadastrar Mapa de Estocagem" /></g:link></span>
            	<span class="menuButton"><g:link class="list" action="list"><g:message code="Mapas de Estocagem cadastrados" /></g:link></span>
            </div>
        </div>
    </body>
</html>
